package day03.statics;

/**
 * @author yangwenqi
 * @decs TODO
 * @date 2025/4/20
 */
public class Employee {
    private String name;
    private double salary;

    public Employee() {

    }
    public Employee(String name, double salary) {
        this.name = name;
        this.salary = salary;
    }

    public String getName() {
        return name;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }
}
